POV-Ray : Newsgroups : povray.general : error in vegetate.inc : Re: error in vegetate.inc Server Time
7 Aug 2024 19:26:25 EDT (-0400)
  Re: error in vegetate.inc  
From: Mark Wagner
Date: 23 Jun 2001 02:26:59
Message: <3b3436b3@news.povray.org>
C.J. - POV User wrote in message <3b323de9@news.povray.org>...
>I get this error when running the vegetate.inc in my scene...
>=======================================
>C:\Program Files\POV-Ray for windows\Include\Vegetate.inc:387 warning: csg
>union unnecessarily bounded.


>#declare VegeList = array[5]
>#declare VegeList[0] = object{rock scale 2 }
>#declare VegeList[1] = object{TREE scale 7 }
>#declare VegeList[2] = object{flower scale 2}
>#declare VegeList[3] = object{rock scale 2.5}
>#declare VegeList[4] = object{flower scale 2.5}

I don't see where that warning could be coming from.  Line 387 of
Vegetate.inc reads:

 object{VegeList[VEGENUM[VEGEcounter]] transform VEGETrans[VEGEcounter] }

As you can see, I don't add a bounding box to the object.  The only thing I
can think of is that one of the objects in your list has an unneeded
bounding box, but in that case, the error message should be pointing to
where the object is declared.

The long time spent building bounding slabs is much easier to explain.  You
specified that Vegetate place 500 objects randomly selected from your list,
and presumably one or more of "rock", "flower", and "TREE" is a union of a
large number of primitives.  A hundred or more of that union will result in
a very large number of objects for POV-Ray to generate a bounding tree for.

--
Mark


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.